package com.gz.WeChatSys.dao;


import com.gz.WeChatSys.model.WxUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.BaseMapper;

/**
 * Created by 中汇天成 on 2017/11/2.
 */
@Mapper
public interface WxUserMapper extends BaseMapper<WxUser> {

    WxUser getWxUser(String openId);

    int updateSubscribe(@Param("userOpenId") String userOpenId, @Param("subscribe") Integer subscribe);

}
